<select id="obl_id">
    <?php foreach ($adsent as $i):

    ?>
    <option   onclick="reurlminifirm();" <?php

    echo $select;
    if($select == $i['code'] ){ ?>selected <?php }?> 
    value="<?php echo $i['code']?>"><?php echo $i['name'];?>.. [<?php echo $i['sadsent'];?>]</option>
    <?php endforeach;?>
</select>
